Indexed Triangle Structure
TheQADrawTriMeshGouraud
andQADrawTriMeshTexture
functions draw triangle meshes defined by an array of indexed triangles. An indexed triangle is represented by a data structure of typeTQAIndexedTriangle
that defines three vertices and a set of triangle flags.
typedef struct TQAIndexedTriangle { unsigned long triangleFlags; unsigned long vertices[3]; } TQAIndexedTriangle;
Field Description
triangleFlags
- A set of triangle flags. See "Triangle Flags Masks," beginning on page 1-63 for a complete description of the available flags.
vertices
- An array of three indices into the array of vertices submitted by the most recent call to
QASubmitVerticesGouraud
orQASubmitVerticesTexture
.